<?php
	$ssFilter = $this->arrParam['ssFilter'];
	$langTmp = $ssFilter['lang'];
	$lang = '';
	if(!empty($langTmp)){
		$lang = 'lang/' . $langTmp;
	}
	$linkMemberManager = $this->baseUrl ( '/default/admin-users/index/' .$lang );
	$linkGroupManager = $this->baseUrl ( '/default/admin-group/index/' .$lang);
	
	$linkProductManager = $this->baseUrl ( '/products/admin-product/index/' .$lang );
	$linkCategoryManager = $this->baseUrl ( '/products/admin-category/index/' .$lang);
	
	$linkServicesManager = $this->baseUrl ( '/services/admin-product/index/' .$lang );
	$linkCategoryServicesManager = $this->baseUrl ( '/services/admin-category/index/' .$lang);
	
	$linkCategoryNewsManager = $this->baseUrl ( '/news/admin-category-news/index/'.$lang);
	$linkNewsItemManager = $this->baseUrl ( '/news/admin-news-item/index/'.$lang);
	
	$linkCategoryBusinessManager = $this->baseUrl ( '/business/admin-category-business/index/'.$lang);
	$linkBusinessItemManager = $this->baseUrl ( '/business/admin-business-item/index/'.$lang);
	
	$linkCategoryMembersManager = $this->baseUrl ( '/members/admin-category-members/index/'.$lang);
	$linkMembersItemManager = $this->baseUrl ( '/members/admin-members-item/index/'.$lang);
?>
<div id="submenu-box">
<div style="border: 1px solid #CCCCCC; padding: 5px">
<ul id="submenu">
	<li><a id='default-admin-group' href="<?php echo $linkGroupManager;?>"><?php echo $this->translate('Groups')?></a></li>
	<li><a id='default-admin-users' href="<?php echo $linkMemberManager;?>"><?php echo $this->translate('Member')?></a></li>
	
	<li><a id='services-admin-product' href="<?php echo $linkServicesManager;?>"><?php echo $this->translate('Service')?></a></li>
	<li><a id='services-admin-category' href="<?php echo $linkCategoryServicesManager;?>"><?php echo $this->translate('Category Service')?></a></li>
	
	<li><a id='news-admin-news-item' href="<?php echo $linkNewsItemManager;?>"><?php echo $this->translate('News')?></a></li>
	<li><a id='news-admin-category-news' href="<?php echo $linkCategoryNewsManager;?>"><?php echo $this->translate('Category news')?></a></li>
	
	<li><a id='business-admin-business-item' href="<?php echo $linkBusinessItemManager;?>"><?php echo $this->translate('Business')?></a></li>
	<li><a id='business-admin-category-business' href="<?php echo $linkCategoryBusinessManager;?>"><?php echo $this->translate('Category business')?></a></li>
	
	<li><a id='members-admin-members-item' href="<?php echo $linkMembersItemManager;?>"><?php echo $this->translate('Members')?></a></li>
	<li><a id='members-admin-category-members' href="<?php echo $linkCategoryMembersManager;?>"><?php echo $this->translate('Category members')?></a></li>
</ul>
<div class="clr"></div>
</div>
</div>
<script type="text/javascript">
   $(document).ready(function(){
	  var controller = '<?php echo $this->arrParam['module'] . '-' . $this->arrParam['controller']; ?>';
	  $('#'+controller) .addClass('active');
   })                  	
</script>
